package day8.homework2;

public class Trafficpolice {
    /**
     * 交警类
     */
    //警号
    public String alarm;
    //交警名字
    public String name;
    public Trafficpolice(){

    }
    public Trafficpolice(String alarm, String name){
        this.alarm = alarm;
        this.name = name;
    }


//某某驾驶员驾驶某某汽车因为什么违章被某某交警处罚了多少钱扣了多少分
    //罚款和扣分是违章的属性
}
